package com.example.ymm.modules1.query;

import com.example.ymm.annotation.Query;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class DbApprovalLogQueryCriteria implements Serializable {

    @ApiModelProperty(value = "模糊查询：姓名")
    @Query(blurry = "approveNo,userName,deptName")
    String keyword;

    @Query
    String approveNo;
    @Query
    Integer status;

    @Query
    String userId;

    @Query
    String userName;

    @Query
    String pageName;//页面名称

    @Query(type = Query.Type.INNER_LIKE)
    String allUserIds;

    @Query
    String approvalSettingId;

    String month;

    String deptNo;

    @Query(propName = "createTime",type = Query.Type.GREATER_THAN)
    String startTime;

    @Query(propName = "createTime",type = Query.Type.LESS_THAN)
    String endTime;

    @Query(propName = "deptNo",type = Query.Type.IN)
    List<String>  deptNoIn;


    String timeBefore;//审批通过的时间节点 10before,10after

    Integer day;//几号

}
